﻿using System;

class EmployeeRecords
{
    static void Main()
    {
        //Exercise 10.
        //A marketing firm wants to keep record of its employees. Each record would have the following characteristics – 
        //first name, family name, age, gender (m or f), ID number, unique employee number (27560000 to 27569999). 
        //Declare the variables needed to keep the information for a single employee using appropriate data types and descriptive names.

        Console.Write("First name:");
        string Firstname = Console.ReadLine();
        Console.Write("Family name:");
        string Familyname = Console.ReadLine();
        Console.Write("Age:");
        string Agestring = Console.ReadLine();
        uint Age = uint.Parse(Agestring);
        Console.Write("Gender:");
        string Genderstring = Console.ReadLine();
        char Gender = char.Parse(Genderstring);
        if (Gender == 'm')
        {
            Console.WriteLine("Gender: Male");
        }
        else if (Gender == 'f')
        {
            Console.WriteLine("Gender: Female");
        }
        else
        {
            Console.WriteLine("Wrong symbol!");
        }
        Console.Write("ID Number:");
        string Idnumberstring = Console.ReadLine();
        int Idnumber = int.Parse(Idnumberstring);
        Console.Write("Unique Employee Number:");
        string Emplnumberstring = Console.ReadLine();
        int Emplnumber = int.Parse(Emplnumberstring);
        if (Emplnumber >= 27560000 && Emplnumber <= 27569999)
        {
            Console.WriteLine("The number is correct.");
        }
        else
        {
            Console.WriteLine("The number is not correct! The Unique Employee Number should be within the following range: 27560000 to 27569999.");
        }        
                
    }
}

